#include <windows.h>
#include <stdio.h>

BOOL __stdcall __tmainCRTStartup()
{
	DWORD numOfBytesWritten = 0;
	HMODULE hModule = NULL;

	WriteConsoleA(GetStdHandle(STD_OUTPUT_HANDLE), "Hello, world!\r\n",sizeof("Hello, world!\r\n"), &numOfBytesWritten, NULL);
	OutputDebugStringA("Hello, world!\r\n");
	hModule = LoadLibraryA("kernel32.dll");
	GetProcAddress(hModule, "GetProcAddress");
	hModule = GetModuleHandleA("kernel32.dll");
	return TRUE;
}